Workflow Nodes
Workflow nodes are the building blocks of every BindAI workflow. Each node performs one specific operation before transferring execution to the next node. By combining different node types, workflows can model anything from simple AI conversations to complex enterprise automation.What is a Node?
A node represents a single execution step. Conceptually:Workflow Graph
Nodes are connected to form a directed graph.Node Lifecycle
Every node follows the same execution lifecycle.Built-in Node Types
BindAI includes several built-in node types.
Each node has a single responsibility.
Start Node
Every workflow begins with a Start node.End Node
The End node completes workflow execution.Agent Node
Agent nodes execute AI agents.Condition Node
Condition nodes create branching logic.Loop Node
Loop nodes repeat execution until a condition changes.Parallel Node
Parallel nodes begin multiple execution branches.Join Node
Join nodes synchronize parallel execution.Human Task Node
Human task nodes pause execution until manual approval is received.Subworkflow Node
A subworkflow node delegates execution to another workflow. Conceptually:Context Sharing
All nodes operate on the same workflow context.Variables Between Nodes
Nodes communicate through workflow variables. Example:Custom Nodes
Developers can create custom nodes by extending the base workflow node. Conceptually:Node Connections
Each node determines which node executes next.Node Independence
Nodes should remain independent whenever possible. A well-designed node:- performs one task
- reads required context
- updates context
- transfers execution
Best Practices
- Give every node a single responsibility.
- Pass information through workflow variables.
- Keep custom nodes focused and reusable.
- Avoid embedding business logic inside workflow orchestration.
- Prefer composing workflows from multiple simple nodes instead of a few complex ones.
- Use descriptive node identifiers for easier debugging.
